package com.itao.xbatis.service;

import com.itao.xbatis.mapper.SysUserMapper;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author sjt
 * @Date 2025/4/11 9:04
 */
@Service
@AllArgsConstructor
public class FlexService {

    private SysUserMapper userMapper;

    @Transactional
    public void test() {
        var accounts = userMapper.listAll();

        System.out.println(accounts);
    }
}
